package com.yhb.channel.exception;

import com.yhb.channel.model.IBankCard;
import lombok.*;

import java.math.BigDecimal;

/**
 * 当通道发生无法解决的错误时 抛出
 */
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class PayChannelDeadException extends Exception{
    // 以下信息方便轮询下一个
    IBankCard payCard;
    IBankCard remitCard;
    BigDecimal amount;
    BigDecimal userFeeAmount;
    String payRate;
    String clientIP;
    String channelName;
}
